var express = require("express");
var router = express.Router();

const index1Model = require("../models/index1");

/* GET home page. */
router.get("/bjtj", function (req, res, next) {
  index1Model.find({}, (err, doc) => {
    if (err) throw err;
    res.json({
      status: 0,
      result: doc,
    });
  });
});

module.exports = router;
